The online racing simulator
Searching in All forums
(299 results)
Flame CZE
S3 licensed
Moderator
That worked now, thanks for a quick fix Smile
Flame CZE
S3 licensed
Moderator
Adding a misc folder worked and I have unlocked the editor now.

But still there are a lot fewer folders than in a fresh 7E editor installation. Uhmm
Flame CZE
S3 licensed
Moderator
When I open the editor setup exe in 7-zip, the misc folder is missing.

Edit: I see it's not there in 7E installer either - I don't know if that's OK or not.

But when I compare the editor folders after installation, some folders are missing in 7F.
Last edited by Flame CZE, .
Flame CZE
S3 licensed
Moderator
Some people including me are getting the "Error creating file" error when trying to unlock a fresh LFS Editor 7F installation. I have tried installing it in C:\LFS.



This is the deb.log before I closed the editor:

Jul 30 19:52:52 LFS : 0.7F
Jul 30 19:52:52 timer resolution 499 microsec
Jul 30 19:52:52 read config
Jul 30 19:52:52 get command line
Jul 30 19:52:52 tables
Jul 30 19:52:52 preinit d3d
Jul 30 19:52:52 load font
Jul 30 19:52:52 -----
Jul 30 19:52:53 kb : Central Europe
Jul 30 19:52:53 initialisations
Jul 30 19:52:53 human system
Jul 30 19:52:53 helmet
Jul 30 19:52:53 controllers
Jul 30 19:52:53 start entry
Jul 30 19:52:53 end of initialisation

4.2.1
Flame CZE
S3 licensed
Moderator
Version 4.2.1 is out with the new IS_IPB packet introduced in LFS 0.7F.

Only plain IPv4 strings are supported for now, but if there's demand for more advanced conversion/parsing, feel free to give feedback.

The IP strings go through validation before the packet is sent. If it's not a valid IPv4, a RangeError will be thrown.

Set new IP bans:

inSim.send(
new IS_IPB({
BanIPs: ['1.2.3.4', '2.2.2.2', '5.5.5.255'],
}),
);

Request all IP bans:

inSim.send(
new IS_TINY({
ReqI: 1,
SubT: TinyType.TINY_IPB,
}),
);

inSim.on(PacketType.ISP_IPB, (packet) => {
console.log(packet.NumB); // 3
console.log(packet.BanIPs); // ['1.2.3.4', '2.2.2.2', '5.5.5.255']
});

Last edited by Flame CZE, .
Flame CZE
S3 licensed
Moderator
I'm curious what progress Eric has made regarding the track updates and even the new tracks. Last report from him was in the 20th anniversary news article from 2022. Are the existing tracks fully updated now, or are there still some holes to fill? It would be nice to see some screenshots if there is something new to show.
Flame CZE
S3 licensed
Moderator
In the IS_NCI packet, the IPAddress property is "unsigned". It's also a 4-byte integer so it should work the same, but is there a reason why it's not "in_addr" too?
Flame CZE
S3 licensed
Moderator
A minor mistake in InSim.txt on line 1171 (new IS_IPB packet):
Quote : in_addr BanIPs [MAL_MAX_MODS]; // IP addresses, 0 to IPB_MAX_BANS (NumB)

It should be:
Quote : in_addr BanIPs [IPB_MAX_BANS]; // IP addresses, 0 to IPB_MAX_BANS (NumB)

Flame CZE
S3 licensed
Moderator
I can't find the download link for the LFS Editor patch Uhmm
Flame CZE
S3 licensed
Moderator
But those DRS are only visual and do not affect the actual downforce.
Flame CZE
S3 licensed
Moderator
Indeed, also you've already created a WIP thread here, so I'm not sure what the point of this thread is.
Version 8
Flame CZE
S3 licensed
Moderator
Finally got out of WIP Smile

Added an LOD2 model
Fixed the aspect ratio of the front number plate
Flame CZE
S3 licensed
Moderator
What’s the point of this thread? I don’t see anything in progress, it seems finished already Shrug
Flame CZE
S3 licensed
Moderator
You can also test it by setting the longest possible text in the numberplate field and checking if all letters fit in that area.
Flame CZE
S3 licensed
Moderator
Good effort!

I’d suggest to include a copyright usage license like you see on Sketchfab for instance, so modders would know if its ok to use in LFS mods and under what conditions. It would also be more transparent for the reviewers.
Flame CZE
S3 licensed
Moderator
Maybe there could be a descriptive error message to explain what happened instead an unhandled exception.
Flame CZE
S3 licensed
Moderator
The .ban files in move folder
Flame CZE
S3 licensed
Moderator
It is a limitation of LFS physics. The physics contact points are only placed at the bottom of the tyre, when the car is level with the ground. Other parts of the tyre don't have any collision detection.
Flame CZE
S3 licensed
Moderator
The driver animations are always tied to the steering angle, the lean angle cannot be controlled independently.
Flame CZE
S3 licensed
Moderator
Changes in version 6:

Updated suspension geometry:
- upper and lower pivots are closer together so the wishbone arms are not parallel anymore
- thrust bearings are higher and closer to the
car centerline
- raised rear max up value to 0.3 m for more available travel

Updated default setup:
- added more stiffness

Hopefully the car is more stable now and does not bottom out as much. Feedback is welcome Smile

Flame CZE
S3 licensed
Moderator
You can control local car lights by sending an IS_SMALL packet with a SubT of SmallType.SMALL_LCL. For example, to turn the high beam on, you send this packet:

inSim.send(
new IS_SMALL({
SubT: SmallType.SMALL_LCL,
UVal: LocalCarLights.LIGHTS_HIGH,
}),
);

Handling commands is done by setting the command prefix character in the inSim.connect() method config and then listening for the IS_MSO packet.

I have created a demo application where you can type !lights on or !lights off to toggle the car's high beam. You can check the full source code at github.com/mkapal/node-insim-car-lights-example. The main program code is in index.ts. Feel free to clone the repository, follow the instructions in the README file and see if it works for you.
Last edited by Flame CZE, .
Flame CZE
S3 licensed
Moderator
Looks like he's only using the screenshot as a reference image, not tracing a 3D model extracted from a game, so it should be fine. Uhmm
Flame CZE
S3 licensed
Moderator
If you use an unlock, you will get an extra unlock every Friday.

https://www.lfs.net/faq/33
Flame CZE
S3 licensed
Moderator
You can download a fresh LFS installation from the downloads page, install it in a different directory and copy&paste the LFS_restart.exe file from there.

LFS_restart.exe is used for automatically restarting LFS after installing an update via the in-game auto updater.
Flame CZE
S3 licensed
Moderator
Thanks!

I think I will try to replicate something similar using my React Node InSim library because I’m not familiar with Lapper.

Do you think I could use your sign buttons in my app? I would credit you of course.
FGED GREDG RDFGDR GSFDG